home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
__MANDEL
/
MANDELBR
/
CMANDELL.C
< prev
next >
Wrap
Text File
|
1992-03-25
|
612b
|
22 lines
// CMandelLinePhase.c
#include "CMandelLinePhase.h"
void
CMandelLinePhase::IMandelLinePhase(CMandelDoc *theDoc, CMandelPhase *theParentPhase,
short theH, short theV, short theLength)
{
CMandelPhase::IMandelPhase(theDoc, theParentPhase);
itsScale = theDoc->itsScale;
itsHStart = theDoc->itsHStart + (double)theH * itsScale;
itsVStart = theDoc->itsVStart - (double)theV * itsScale;
itsMaxDwell = theDoc->itsMaxDwell;
itsDwellsH = theDoc->itsDwellsH;
itsRowSize = (long)theDoc->itsWidth * sizeof(TDwell);
itsLength = theLength;
itsIndex = ((long)theV * theDoc->itsWidth + theH) * sizeof(TDwell);
}